package org.gwtmultipage.sample.client;

import hr.fer.zemris.rznu.model.dto.user.UserDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface LoginServiceAsync{

	public void checkLogin(String userName, String password, AsyncCallback<UserDTO> callback);

	public void isUserLogged(AsyncCallback<UserDTO> callback);
	
	public void logout(AsyncCallback<Void> callback);
}
